package cn.yunhe.entity;
import java.io.Serializable;
import lombok.Data;

/**
 * 百度测两地距离实体类
 * id 省编号
 * province省名字
 * jingdu  经度
 * weidu 纬度
 */
@Data
public class Distance implements Serializable {

    private int id;
    private String province;
    private double jingdu;
    private double weidu;

    public Distance() {
    }

    public Distance(String province) {
        this.province = province;
    }

    public Distance(int id) {
        this.id = id;
    }

    public Distance(String province, double jingdu, double weidu) {
        this.province = province;
        this.jingdu = jingdu;
        this.weidu = weidu;
    }

    public Distance(int id, String province, double jingdu, double weidu) {
        this.id = id;
        this.province = province;
        this.jingdu = jingdu;
        this.weidu = weidu;
    }
}
